package org.framework.annotation;

import org.framework.callback.AbstractMqCallback;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author RayLiang
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface RabbitSettingProducer {

    MqBinding bindings();

    Class<? extends AbstractMqCallback> callback() default AbstractMqCallback.class;


}
